sum to n terms of special series